{% extends "admin/base_site.html" %}
{% load i18n admin_static %}
{% load admin_urls %}
{% load static %}

{% if not is_popup %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_label|capfirst|escape }}</a>
&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>
&rsaquo; 上传安装包
</div>
{% endblock %}
{% endif %}

{% block content %}
	<form name="upload_form" action="{% url 'admin:packages_upload_pkg' %}" enctype="multipart/form-data"  method="post">
		{% csrf_token %}
        <input name="crc32" type="hidden" />
        <input name="accept" type="hidden" />
        
		os平台类型：
		<select name="os">
			<option value="A">
				Android
			</option>
			<option value="O">
				iOS
			</option>
		</select><br /><br/>
		
		选择安装包: <input type="file" id="pkg_file" name="pkg_file" /><br /><br />
		
		<table>
		<tr><th>更新日志:</th>  
		    <td><textarea id="change_log" cols="60" rows="10" name="change_log"></textarea></td></tr>
		<tr><th>备注:</th><td><textarea id="desc" cols="60" rows="5" name="desc"></textarea></td></tr>
		</table>
		<input type="submit" value="上传" />
	</form>
	
<br />

    
{% endblock %}
